package com.tonann.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tonann.common.annotation.Excel;
import com.tonann.common.core.domain.BaseEntity;

/**
 * 网关故障对象 app_fault_gateway
 * 
 * @author tonann
 * @date 2022-10-15
 */
public class AppFaultGateway extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long faultId;

    /** 网关 */
    @Excel(name = "网关")
    private Long gatewayId;

    /** 故障值 */
    @Excel(name = "故障值")
    private String faultValue;

    /** 故障编码 */
    @Excel(name = "故障编码")
    private String faultCode;

    /** 故障名称 */
    @Excel(name = "故障名称")
    private String faultName;

    /** 是否消警 */
    @Excel(name = "是否消警")
    private String isChecked;

    /** 处理记录 */
    @Excel(name = "处理记录")
    private String record;

    public void setFaultId(Long faultId) 
    {
        this.faultId = faultId;
    }

    public Long getFaultId() 
    {
        return faultId;
    }
    public void setGatewayId(Long gatewayId) 
    {
        this.gatewayId = gatewayId;
    }

    public Long getGatewayId() 
    {
        return gatewayId;
    }
    public void setFaultValue(String faultValue) 
    {
        this.faultValue = faultValue;
    }

    public String getFaultValue() 
    {
        return faultValue;
    }
    public void setFaultCode(String faultCode) 
    {
        this.faultCode = faultCode;
    }

    public String getFaultCode() 
    {
        return faultCode;
    }
    public void setFaultName(String faultName) 
    {
        this.faultName = faultName;
    }

    public String getFaultName() 
    {
        return faultName;
    }
    public void setIsChecked(String isChecked) 
    {
        this.isChecked = isChecked;
    }

    public String getIsChecked() 
    {
        return isChecked;
    }
    public void setRecord(String record) 
    {
        this.record = record;
    }

    public String getRecord() 
    {
        return record;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultId", getFaultId())
            .append("gatewayId", getGatewayId())
            .append("faultValue", getFaultValue())
            .append("faultCode", getFaultCode())
            .append("faultName", getFaultName())
            .append("isChecked", getIsChecked())
            .append("record", getRecord())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
